package com.sikaryofficial.gateway.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 放行登录邮箱白名单配置
 *
 * @author qinjinyuan
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "login.ignore")
@Getter
@Setter
public class EmailIgnoreWhiteProperties {
    /**
     * 放行登录邮箱白名单配置，网关登录验证不校验此处的白名单
     */
    private List<String> whites;
}
